<template>
    <div class="ed">
        {{Lang.sign[lang][4]}} {{balance}}
    </div>
</template>

<script>
import Lang from '../lang.js'
export default {
	name: 'ed',
	data() {
		return {
			Lang,
			balance: '',
			timing: '',
		}
	},
	created() {},
	methods: {
		init() {
			this.balance = this.$store.state.trade.fvirtualwalletFB_KY
		},
	},
	computed:{
		lang(){
			return this.$store.state.setting.lang
		}
	},
	mounted() {
		this.timing = setInterval(() => {
			this.init()
		}, 0.5 * 1000)
	},
	destroyed(){
        clearInterval(this.timing)
        this.timing=null
    }
}
</script>

<style scoped>
.ed {
	background-color: var(--bg1);
}
</style>